Techniques for improved virtual instance inspection utilizing disk cloning

ABSTRACT

A system and method for inspecting virtual instances in a cloud computing environment for cybersecurity threats utilizing disk cloning. The method includes: selecting a virtual instance in a cloud computing environment, wherein the virtual instance includes a disk having a disk descriptor with an address in a cloud storage system; generating an instruction to clone the disk of the virtual instance, the instruction when executed causes generation of a cloned disk descriptor, the cloned disk descriptor having a data field including the address of the disk of the virtual instance; inspecting the cloned disk for a cybersecurity threat; and releasing the cloned disk in response to completing the inspection of the cloned disk.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S patent application Ser. No. 18/456,942 filed on Aug. 28, 2023, now pending. The Ser. No. 18/456,942 is a continuation of U.S patent application Ser. No. 17/664,508 filed on May 23, 2022, now pending. The contents of the above-referenced applications are hereby incorporated by reference.

TECHNICAL FIELD

The present disclosure relates generally to detection of vulnerabilities and exposures in cloud computing environments, and specifically to reducing resources required for detecting cybersecurity threats to a cloud computing environment.

BACKGROUND

Cloud computing infrastructure providers, such as Amazon® Web Services (AWS), Google® Cloud Platform (GCP), Microsoft® Azure, and Oracle® Cloud Infrastructure (OCI), are able to provision hardware resources to multiple tenants (i.e., users and groups of users) by creating an abstraction layer and provisioning the resources as requested.

Tenants in a cloud computing infrastructure may have their own cloud computing environments deployed on top of the infrastructure, with resources provisioned thereto. While the advantages of such cloud computing environments, such as the ability to scale up or down, are well documented, they also carry security risks. Inherently, these cloud computing environments need to be accessed from networks outside of the cloud computing environment in order for example to provide services. This allows not only authorized users to enter the cloud computing environment, but also provides an opportunity for malicious attackers to attempt entry into the cloud computing environment.

Accessing a cloud computing environment allows an attacker to potentially access sensitive data, or utilize the resources of the cloud computing environment for other purposes, such as mining cryptocurrency. It is therefore of primary importance to detect vulnerabilities and exposures in the cloud computing environment, and in workloads such as virtual machines, containers, and serverless functions, deployed therein.

Various solutions exist for scanning workloads deployed in cloud computing environments. Agent-based solutions require an agent to be installed on a workload. This is an additional computational burden, since an agent is an application which requires memory, processing power, etc., to run. Agentless-based solutions, for example, may require generating a snapshot of a disk of a virtual instance (e.g., a virtual machine). When a snapshot is generated, a disk is accessed, a snapshot file is generated, and a second disk is mounted based on the generated snapshot, requiring the intermediate step of generating a snapshot file.

Further, snapshots are generated only of a single disk, which in some instances may be a problem. For example, Microsoft® Azure virtual machines may be deployed using three disk types: an operating system (OS) disk, a temporary disk, and a data disk. Additionally, generating snapshots requires a garbage collection mechanism, as snapshot generation may be interrupted, resulting in garbage data which needs to be purged, and then generating another snapshot until the process is successful.

FIG. 5 is an example diagram 500 of a virtual machine 512 from which a snapshot is generated, according to the prior art. The virtual machine (VM) 512 is deployed as an Azure® VM. The VM 512 includes a plurality of disks allocated to the VM 512. The VM 512 may be deployed only with an OS disk, with an OS disk and a plurality of data disks, and so on. The plurality of disks includes an operating system (OS) disk 502, an optional temporary disk 504, and at least a data disk 506. The OS disk 502 includes a preinstalled OS, such as Microsoft® Windows, or Linux®. The preinstalled OS is in a boot volume of the OS disk 502. The optional temporary disk 504 may be used for storing temporary data, such as page files, swap files, and the like. The data disk 506 may be used for storing an application, application code, libraries, binaries, application data, and the like. In some configurations, a disk of the plurality of disks may be further encrypted. For example, the OS disk 502, and the data disk 506 may be encrypted disks. In certain embodiments an encrypted disk is associated with an encryption key which can be used to decrypt the disk. For example, a VM having a Windows® allocated disk may be configured to encrypt a data disk allocated to the VM using BitLocker. A VM having a Linux® allocated disk may be configured to encrypt a data disk allocated to the VM using DM-Crypt®.

The plurality of disks are allocated to the VM 512 by a disk level provisioning 505. In an embodiment, the disk level provisioning 505 is an application deployed in a cloud computing infrastructure. The disk level provisioning 505 provisions hardware resource to the VM 512 which results in allocation of a disk. The hardware resources are provisioned from cloud storage pages 510 of the cloud computing infrastructure. The hardware resources may be solid state device (SSD) storage, hard disk drive (HDD) storage, optical storage, other magnetic storage, and the like. In an example embodiment, the cloud storage pages 510 are Azure page blobs. A page blob is a collection of a pages, each page having a predetermined size. For example, the predetermined size may be 512-bytes per page.

When a snapshot is created of the VM 512, a disk needs to be selected, as a snapshot is a copy of a disk at a point in time. As a snapshot is based on a single disk, inspection may become complicated when multiple disks are used in coordination. For example, when disk striping is performed between a plurality of disks, coordination needs to be performed between the snapshots. Furthermore, when a disk snapshot 508 is generated, for example, based on the data disk 506, the snapshot process may be interrupted, resulting in pages which need to be deleted by a garbage collection mechanism. Furthermore, the disk snapshot 508 needs to be assigned a permission to an inspector workload, as well as access to an encryption key if the disk from which the snapshot is generated is an encrypted disk.

It would therefore be advantageous to provide a solution that would overcome the challenges noted above.

SUMMARY

A summary of several example embodiments of the disclosure follows. This summary is provided for the convenience of the reader to provide a basic understanding of such embodiments and does not wholly define the breadth of the disclosure. This summary is not an extensive overview of all contemplated embodiments, and is intended to neither identify key or critical elements of all embodiments nor to delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more embodiments in a simplified form as a prelude to the more detailed description that is presented later. For convenience, the term “some embodiments” or “certain embodiments” may be used herein to refer to a single embodiment or multiple embodiments of the disclosure.

A system of one or more computers can be configured to perform particular operations or actions by virtue of having software, firmware, hardware, or a combination of them installed on the system that in operation causes or cause the system to perform the actions. One or more computer programs can be configured to perform particular operations or actions by virtue of including instructions that, when executed by a data processing apparatus, cause the apparatus to perform the actions.

In one general aspect, method may include selecting a virtual instance in a cloud computing environment, where the virtual instance includes a disk having a disk descriptor with an address in a cloud storage system. Method may also include generating an instruction to clone the disk of the virtual instance, the instruction when executed causes the generation of a cloned disk descriptor, the cloned disk descriptor having a data field including the address of the disk of the virtual instance. Method may furthermore include inspecting the cloned disk for a cybersecurity threat. Method may in addition include releasing the cloned disk in response to completing the inspection of the cloned disk. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.

Implementations may include one or more of the following features. Method may include: releasing the cloned disk prior to the cloud computing environment copying the content of the disk of the virtual instance into the cloned disk. Method may include: generating a pointer for the cloned disk descriptor to an encryption key, the encryption key used for encrypting the disk. Method where the cloned disk descriptor includes a pointer to an address of a storage block in a managed storage of the cloud computing environment. Method may include: dereferencing a pointer of the disk of the live virtual instance; and generating a pointer for the cloned disk descriptor based on the dereferenced pointer of the disk of the live virtual instance. Method where inspecting the cloned disk for the cybersecurity threat further may include: inspecting the cloned disk for any one of: an exposure, a vulnerability, a malware, a ransomware, a spyware, a bot, a weak password, an exposed password, an exposed certificate, a misconfiguration, a suspicious event, and any combination thereof. Method may include: deprovisioning the cloned disk descriptor, in response to completing inspecting the at least a disk. Method where the virtual instance remains live during the inspection. Method where the live virtual instance is detected in the cloud computing environment. Method may include: querying a security graph to detect a disk node representing a disk, the disk node connected to a virtual instance node representing the live virtual instance, where the security graph represents the cloud computing environment. Implementations of the described techniques may include hardware, a method or process, or a computer tangible medium.

In one general aspect, non-transitory computer-readable medium may include one or more instructions that, when executed by one or more processors of a device, cause the device to: select a virtual instance in a cloud computing environment, where the virtual instance includes a disk having a disk descriptor with an address in a cloud storage system. Medium may furthermore generate an instruction to clone the disk of the virtual instance, the instruction when executed causes generation of a cloned disk descriptor, the cloned disk descriptor having a data field including the address of the disk of the virtual instance. Medium may in addition inspect the cloned disk for a cybersecurity threat. Medium may moreover release the cloned disk in response to completing the inspection of the cloned disk. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.

In one general aspect, system may include a processing circuitry. System may also include a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to: select a virtual instance in a cloud computing environment, where the virtual instance includes a disk having a disk descriptor with an address in a cloud storage system. System may in addition generate an instruction to clone the disk of the virtual instance, the instruction when executed causes generation of a cloned disk descriptor, the cloned disk descriptor having a data field including the address of the disk of the virtual instance. System may moreover inspect the cloned disk for a cybersecurity threat. System may also release the cloned disk in response to completing the inspection of the cloned disk. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each configured to perform the actions of the methods.

Implementations may include one or more of the following features. System where the memory contains further instructions which when executed by the processing circuitry further configure the system to: release the cloned disk prior to the cloud computing environment copying a content of the disk of the virtual instance into the cloned disk. System where the memory contains further instructions which when executed by the processing circuitry further configure the system to: generate a pointer for the cloned disk descriptor to an encryption key, the encryption key used for encrypting the disk. System where the cloned disk descriptor includes a pointer to an address of a storage block in a managed storage of the cloud computing environment. System where the memory contains further instructions which when executed by the processing circuitry further configure the system to: dereference a pointer of the disk of the live virtual instance; and generate a pointer for the cloned disk descriptor based on the dereferenced pointer of the disk of the live virtual instance. System where the one or more processors, when inspecting the cloned disk for the cybersecurity threat, are configured to: inspect the cloned disk for any one of: an exposure, a vulnerability, a malware, a ransomware, a spyware, a bot, a weak password, an exposed password, an exposed certificate, a misconfiguration, a suspicious event, and any combination thereof. System where the memory contains further instructions which when executed by the processing circuitry further configure the system to: deprovision the cloned disk descriptor, in response to completing inspecting the at least a disk. System where the virtual instance remains live during the inspection. System where the live virtual instance is detected in the cloud computing environment. System where the memory contains further instructions which when executed by the processing circuitry further configure the system to: query a security graph to detect a disk node representing a disk, the disk node connected to a virtual instance node representing the live virtual instance, where the security graph represents the cloud computing environment. Implementations of the described techniques may include hardware, a method or process, or a computer tangible medium.

BRIEF DESCRIPTION OF THE DRAWINGS

The subject matter disclosed herein is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the disclosed embodiments will be apparent from the following detailed description taken in conjunction with the accompanying drawings.

FIG. 1 is a diagram of a cloud computing infrastructure, implemented in accordance with an embodiment.

FIG. 2 is a diagram of a virtual machine and a cloned disk thereof, utilized to describe an embodiment.

FIG. 3 is a flowchart of a method for generating a disk clone of a virtual instance for vulnerability inspection according to an embodiment.

FIG. 4 is a schematic diagram of an inspection controller according to an embodiment.

FIG. 5 is a diagram of a virtual machine from which a snapshot is generated, according to the prior art.

DETAILED DESCRIPTION

It is important to note that the embodiments disclosed herein are only examples of the many advantageous uses of the innovative teachings herein. In general, statements made in the specification of the present application do not necessarily limit any of the various claimed embodiments. Moreover, some statements may apply to some inventive features but not to others. In general, unless otherwise indicated, singular elements may be in plural and vice versa with no loss of generality. In the drawings, like numerals refer to like parts through several views.

The various disclosed embodiments include a method and system for inspecting a disk (original disk) of a live virtual instance deployed in a production environment of a cloud computing environment. The production environment is a cloud computing environment which provides services, resources, and the like, to users of the production environment. The original disk is cloned into a cloned disk, which includes generating a cloned disk descriptor. The original disk is a virtual disk, which is assigned physical storage by using a disk descriptor. The disk descriptor is a data structure which includes a reference, such as a pointer, to an address of a physical storage of a shared storage scheme in the cloud computing environment. When generated, the cloned disk descriptor contains a pointer which points to the address of the physical storage of the original disk. The cloned disk may then be inspected, while the live virtual instance remains unperturbed. Cloud computing resource usage is reduced, due at least to not having to generate a snapshot of the disk, which would then be mounted and inspected. Further, no copy is generated and therefore data is not physically duplicated, which would require additional storage resources if performed.

FIG. 1 is an example of a diagram of a cloud computing infrastructure 100, implemented in accordance with an embodiment. A cloud computing infrastructure 100 may be, for example, Amazon® Web Services (AWS), Google® Cloud Platform (GCP), Microsoft® Azure, Oracle® Cloud Infrastructure (OCI), and the like. In an embodiment, a plurality of cloud computing infrastructures may be utilized, each having at least one cloud computing environment deployed thereon. A cloud computing environment 110 is deployed on the cloud computing infrastructure 100. A cloud computing environment 110 may be, for example, a virtual private cloud (VPC) deployed on Azure.

The cloud computing environment 110 includes cloud entities, such as resources and principals. A resource is a cloud entity which supplies functionality, such as processing power, memory, storage, communication, and the like. A resource may supply more than one functionality. Resources may include, for example, virtual machines (VMs), such as VM 112, container engines such as container engines 114, serverless functions such as serverless functions 116, and the like. As used herein, unless otherwise noted, the terms ‘resource’, ‘virtual instance’ and ‘workload’ are used interchangeably. The cloud computing environment 110 may further include an application programming interface (API), through which actions in the cloud environment may be triggered. A container engine may be implemented using Kubernetes® or Docker®. A serverless function may implemented using Lambda®. A VM may be implemented using Oracle® VirtualBox, Azure Virtual Machines, and the like.

In an embodiment, an Azure VM is deployed with an operating system (OS) disk, a temporary disk, and at least one data disk. It should be noted a VM may be deployed with only an OS disk, in some embodiments. The at least one data disk is a managed disk which is attached to the VM and used to store, for example, application data, generated content, and the like. The OS disk includes a preinstalled OS and contains a boot volume. The temporary disk is an optional disk which is not managed, and is used for short-term storage, e.g., for storing a page file, a swap file, and the like. An example of a VM 112 is discussed in more detail in FIG. 2A and 2B below.

A principal is a cloud entity which acts on a resource, meaning it can request, or otherwise initiate, actions or operations in the cloud environment which cause a resource to perform a function. A principal may be, for example, a user account, a service account, a role, and the like. In an embodiment a principal is implemented as a data structure which includes information about an entity, such as username, a password hash, an associated role, and the like.

The cloud computing environment 110 is connected with an inspection environment 120. The inspection environment 120 is a cloud computing environment. In an embodiment, the inspection environment 120 is deployed on the cloud computing infrastructure 100, in another cloud computing infrastructure, or a combination thereof. In certain embodiments a portion of the inspection environment 120 is deployed in the cloud computing environment 110. In some embodiments, certain instances deployed in the inspection environment 120 may be deployed in the cloud computing environment 110.

The inspection environment 120 includes a plurality of inspector workloads, such as inspector 124. The inspector 124 is configured to inspect workloads (i.e., virtual instances) of the cloud computing environment 110. In certain embodiments, an inspector, such as inspector 124, may be configured to inspect other cloud entities, such as user accounts, and the like. In an embodiment, a storage, such as a disk of a virtual machine, may be cloned. As will be discussed below, the cloned disk may be accessed by the inspector 124. The inspector 124 may inspect the cloned disk of the workload for security objects, such as secrets, keys, user account information, and the like. In some embodiments, the inspector 124 inspects the cloned workload for applications, operating systems, binaries, libraries, and the like.

In an embodiment, a cloned disk, which may be a clone of, for example, a data disk, an OS disk, and so on, is generated by generating an instruction, which when executed by the cloud computing environment (e.g., by an orchestrator 111 of the cloud computing environment) generates a disk descriptor, based on a virtual instance descriptor (e.g., a VM descriptor). In a cloud computing environment, an orchestrator 111 is an application which configures, coordinates, and manages applications, deployments, and the like. The virtual instance descriptor includes an address where content of the disk is stored. The address may be, for example, an address of a page in a shared storage scheme. The disk descriptor is a data structure which includes therein a data field which includes the original address from the virtual instance descriptor.

A cloned disk is instantly available for inspection, as generating the disk descriptor is an instant operation. In contrast, generating a snapshot requires copying of data, which is only available for inspection once the snapshot generation is complete. Therefore, disk cloning provides faster access to a disk for inspection, and additionally requires less computing resources for such inspection. This is advantageous as the cloning does not disturb a live virtual instance (i.e., a virtual instance deployed in a production environment) while allowing access to a data disk thereof, without requiring cloud resources other than a generation of a cloned disk descriptor. The inspection of a cloned disk is discussed in further detail below.

The inspection environment 120 further includes a security database 122, which is a graph database. A security graph may be stored on the security database 122. The security graph includes a representation of the cloud computing environment 110. For example, cloud entities of the cloud computing environment 110 may be represented each as nodes in the security graph. In an embodiment, the security graph is generated based on objects detected by an inspector, such as inspector 124. In an embodiment, a virtual instance (e.g., a virtual machine) is represented by a node stored in the security graph. A disk, such as OS disk, data disk, and the like, are also represented each by a node, which is connected to the node representing the virtual instance. In certain embodiments, generating an instruction to inspect a virtual instance further includes querying a security graph to determine an identifier of a disk which is connected to the virtual instance, by generating a query to detect a node representing a disk which is connected to another node representing the virtual instance.

A controller 126 is further included in the inspection environment 120. In an embodiment the controller 126 is a workload deployed in the inspection environment 120 which is configured to initiate inspection of the cloud computing environment 110. For example, initiating inspection may include determining what cloud entities to inspect, when to inspect them, and the like.

FIG. 2 is an example diagram 200 of a virtual machine 112 and a cloned disk thereof, utilized to describe an embodiment. While an Azure® cloud computing infrastructure is discussed here, it should be understood that the teachings herein apply equally to other cloud computing infrastructures which offer equal functionality. The VM 112 includes a plurality of disks allocated to the VM 112. The VM 112 may be deployed only with an OS disk, with an OS disk and a plurality of data disks, and so on.

In this example embodiment the plurality of disks includes an operating system (OS) disk 202, an optional temporary disk 204, and at least a data disk 206. The OS disk 202 includes a preinstalled OS, such as Microsoft® Windows, or Linux®. The preinstalled OS is in a boot volume of the OS disk 202. The optional temporary disk 204 may be used for storing temporary data, such as page files, swap files, and the like. The data disk 206 may be used for storing an application, application code, libraries, binaries, application data, and the like. In an embodiment, a plurality of data disks 206 may be allocated to the VM 112. In some configurations, a disk of the plurality of disks may be encrypted. For example, the OS disk 202, and the data disk 206 may be encrypted disks. In certain embodiments, an encrypted disk is associated with an encryption key which can be used to decrypt the disk. For example, a VM having a Windows® allocated disk may be configured to encrypt a data disk allocated to the VM using BitLocker. A VM having a Linux® allocated disk may be configured to encrypt a data disk allocated to the VM using DM-Crypt®.

The plurality of disks are allocated to the VM 112 by a disk level provisioning 205. In an embodiment, the disk level provisioning 205 is an application deployed in a cloud computing infrastructure. The disk level provisioning 205 provisions hardware resource to the VM 112 which results in the allocation of a disk. The hardware resources are provisioned from cloud storage pages 210 of the cloud computing infrastructure. The hardware resources may be solid state device (SSD) storage, hard disk drive (HDD) storage, optical storage, other magnetic storage, and the like. In an example embodiment, the cloud storage pages 210 are Azure page blobs. A page blob is a collection of pages, each page having a predetermined size. For example, the predetermined size may be 512-bytes per page.

A disk clone 212 (also referred to as cloned disk 212) includes a disk descriptor which includes a reference to an address of a disk of the VM 112. In certain cloud computing infrastructures, when a disk is cloned, a pointer, such as pointer 216, is used to point to an original disk, in this example the data disk 206. In an embodiment, this may be achieved by dereferencing a pointer of the VM 112 which points to the data disk 206, and generating the pointer 216 for the cloned VM 212 to point to the data disk 206. In certain embodiments where a disk is encrypted, a pointer may be generated for the cloned VM 212 to the encryption key.

In an embodiment, the cloning process generates the disk clone 212 as a background process. This is possible due to utilizing diffs. A diff is an additional content that includes the difference between a content at one point in time (e.g., when the original disk was cloned) and a second, later, point in time. Thus, the VM 112 may access the data disk 206 and any diffs generated, or committed, after the disk clone 212 is generated, whereas the disk clone 212 may access only the content of the original data disk 206, and cannot access any diffs generated since.

The cloned disk 212 may then be inspected by an inspector, such as the inspector 124 of the inspection environment 120 of FIG. 1 above. In some embodiments, a cloud computing infrastructure may be divided into regions, corresponding to geographic regions. In such embodiments, cloning a disk may be possible only if the disk clone is in the same region as the original disk from which the clone is generated. In an embodiment, an inspection controller, such as the controller 126 of FIG. 1 , may determine if inspecting a virtual instance requires generating a disk clone or a snapshot. In an embodiment, the determination is performed based on the geographic location of the VM 112, an intended geographic location into which a disk of the VM 112 is cloned, a geographic location of the inspection environment, a number of disks allocated to the virtual instance, or any combination thereof.

By inspecting a cloned disk 212 there is no need to generate a snapshot, which prevents at least some of the deficiencies noted above. Furthermore, cloning is performed on a live virtual instance, which remains live during inspection, as the cloning does not interfere with the virtual instance's operation. Once inspection of the cloned disk 212 is complete, the cloned disk 212 may be spun down, releasing any resources allocated to it, and removing the pointers pointing to the disks of the virtual machine. In an embodiment, the cloned disk 212 may be deleted to accomplish spinning down.

FIG. 3 is an example flowchart 300 of a method for generating a disk clone of a virtual instance for vulnerability inspection according to an embodiment.

At S310, a live virtual instance is detected in a cloud computing environment. A live virtual instance is a virtual instance which, at the time of detection, is deployed in a production environment. A production environment is a cloud computing environment which provides services and resources, for example, to users of the cloud computing environment. This is an environment which is distinct, for example, from a test environment in which applications, appliances, code, and the like, are tested, before being deployed in a production environment for general use.

In an embodiment, an application programming interface (API) of a cloud computing environment may be queried to detect virtual instances deployed therein. In other embodiments, a security graph may be queried to detect virtual instances deployed in the cloud computing environments. The security graph, which includes a representation of the cloud computing environment, may be queried to detect virtual instances based on at least an attribute. The at least an attribute may be, for example, a type of virtual instance (e.g., virtual machine, container, etc.), a region in which the virtual instance is deployed, a tag indicating that the virtual instance should be inspected, and the like.

In an embodiment, detecting a virtual instance further includes determining an identifier of the virtual instance, such as a name, network address, and the like. The identifier may be used to access the virtual instance. The virtual instance includes a disk (also referred to as the original disk). In some embodiments, the disk is represented as a node in the security graph, the node connected to another node, the another node representing the virtual instance.

In certain embodiments, detecting a live virtual instance includes receiving an identifier of the live virtual instance, and an instruction to inspect the live virtual instance.

At S320, an instruction is generated which, when executed, configures the cloud computing environment to clone the disk of the virtual instance. In an embodiment, the instruction is generated for execution by an orchestrator of the cloud computing environment in which the virtual instance, also called a parent virtual instance, is deployed. When executed, the instruction configures, for example, the cloud computing environment, to allocate resources to a cloned disk. The cloned disk is an independent copy of the original disk of the parent virtual instance. An independent copy of a disk is a copy which can be deployed and accessed independently of the original disk. This is as opposed to a copy of a virtual instance, such as a snapshot, which requires additional resources allocated in order to deploy.

For example, a snapshot may be generated based on a single disk of a virtual instance. A new disk (e.g., persistent volume) may be generated based on the snapshot, and a claim (e.g., persistent volume claim) generated to another virtual instance in order to access data stored on the new disk. Furthermore, a snapshot is only available once the disk is completely copied. In contrast, a clone is available immediately, as the operation of generating a disk descriptor is faster than an operation of generating a snapshot. For at least this reason inspection is completed faster.

In certain embodiments, the instruction, when executed, configures the cloud computing environment to generate a cloned disk having a reference, such as a pointer, to the original disk of the parent virtual instance. In some embodiments, the disk is encrypted with an encryption key. The encryption key, as well as the disk, may be dereferenced. Dereferencing an encryption key (ora disk) may include determining where a pointer of the parent virtual instance is pointing to, e.g., the pointer points to a block address of a managed block storage. A new pointer may be stored for the cloned disk which points to the same block address, encryption key, etc. as the dereferenced pointer.

In some embodiments, an optional check is performed to determine if the cloned disk is configured to be deployed in the same region as the parent virtual instance. A cloud computing infrastructure may limit the ability to clone a disk outside of a region. For example, if an inspection environment is not in the same region as the cloud computing environment in which the virtual instance is inspected, it may not be possible (i.e., not permissible) to generate a disk clone in the region where the inspection environment is.

In other embodiments, an optional check may be performed to determine the number of disks associated with a virtual instance. For example, if the number of disks equals or exceeds a predetermined threshold the cloning process may be initiated, otherwise a snapshot is generated, and an inspection is performed on the generated snapshot.

At S330, the cloned disk is inspected for cybersecurity threats. In an embodiment, cybersecurity threats include, but are not limited to, exposures, vulnerabilities, malware, ransomware, spyware, bots, weak passwords, exposed passwords, exposed certificates, outdated certificates, misconfigurations, suspicious events, and the like.

Inspecting a cloned disk includes, in an embodiment, assigning an inspector to the cloned disk. In some embodiments, an inspector, such as inspector 124 of FIG. 1 , is provided with access to the cloned disk. For example, the cloning process may include generating an instruction which when executed configures the cloned disk to allow an inspector workload access thereto. The inspector may inspect the cloned disk for security objects, such as files, folders, and the like. A security object may be, for example, a password stored in plaintext, a password stored in cleartext, a certificate, and the like.

For example, in an embodiment, a signature for a file, folder, and the like is generated during an inspection. Such a signature is matched to another known signature. The known signature indicates a vulnerability. A signature may be generated, for example, using a checksum.

At S340, the cloned disk is released. In an embodiment, an instruction may be generated which, when executed, configures the cloud computing environment to release the cloned disk. Releasing a cloned disk may include, for example, deprovisioning resources allocated to the cloned disk. For example, a cloned disk may be deleted. Releasing the cloned disk is performed in response to completing the inspection.

While virtual machines are discussed throughout this disclosure, it should be understood that the teachings herein apply equally to other virtual instances with respect to cloning and snapshot generation.

FIG. 4 is an example schematic diagram of an inspection controller 126 (controller 126) according to an embodiment. The controller 126 includes a processing circuitry 410 coupled to a memory 420, a storage 430, and a network interface 440. In an embodiment, the components of the controller 126 may be communicatively connected via a bus 450.

The processing circuitry 410 may be realized as one or more hardware logic components and circuits. For example, and without limitation, illustrative types of hardware logic components that can be used include field programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), Application-specific standard products (ASSPs), system-on-a-chip systems (SOCs), graphics processing units (GPUs), tensor processing units (TPUs), general-purpose microprocessors, microcontrollers, digital signal processors (DSPs), and the like, or any other hardware logic components that can perform calculations or other manipulations of information.

The memory 420 may be volatile (e.g., random access memory, etc.), non-volatile (e.g., read only memory, flash memory, etc.), or a combination thereof.

In one configuration, software for implementing one or more embodiments disclosed herein may be stored in the storage 430. In another configuration, the memory 420 is configured to store such software. Software shall be construed broadly to mean any type of instructions, whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise. Instructions may include code (e.g., in source code format, binary code format, executable code format, or any other suitable format of code). The instructions, when executed by the processing circuitry 410, cause the processing circuitry 410 to perform the various processes described herein.

The storage 430 may be magnetic storage, optical storage, and the like, and may be realized, for example, as flash memory or other memory technology, compact disk-read only memory (CD-ROM), Digital Versatile Disks (DVDs), or any other medium which can be used to store the desired information.

The network interface 440 allows the controller 126 to communicate with, for example, an inspector 124, a security database 122, and the like.

It should be understood that the embodiments described herein are not limited to the specific architecture illustrated in FIG. 4 , and other architectures may be equally used without departing from the scope of the disclosed embodiments.

The various embodiments disclosed herein can be implemented as hardware, firmware, software, or any combination thereof. Moreover, the software is preferably implemented as an application program tangibly embodied on a program storage unit or computer readable medium consisting of parts, or of certain devices and/or a combination of devices. The application program may be uploaded to, and executed by, a machine comprising any suitable architecture. Preferably, the machine is implemented on a computer platform having hardware such as one or more central processing units (“CPUs”), a memory, and input/output interfaces. The computer platform may also include an operating system and microinstruction code. The various processes and functions described herein may be either part of the microinstruction code or part of the application program, or any combination thereof, which may be executed by a CPU, whether or not such a computer or processor is explicitly shown. In addition, various other peripheral units may be connected to the computer platform such as an additional data storage unit and a printing unit. Furthermore, a non-transitory computer readable medium is any computer readable medium except for a transitory propagating signal.

All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the principles of the disclosed embodiment and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions. Moreover, all statements herein reciting principles, aspects, and embodiments of the disclosed embodiments, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Additionally, it is intended that such equivalents include both currently known equivalents as well as equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure.

It should be understood that any reference to an element herein using a designation such as “first,” “second,” and so forth does not generally limit the quantity or order of those elements. Rather, these designations are generally used herein as a convenient method of distinguishing between two or more elements or instances of an element. Thus, a reference to first and second elements does not mean that only two elements may be employed there or that the first element must precede the second element in some manner. Also, unless stated otherwise, a set of elements comprises one or more elements.

As used herein, the phrase “at least one of” followed by a listing of items means that any of the listed items can be utilized individually, or any combination of two or more of the listed items can be utilized. For example, if a system is described as including “at least one of A, B, and C,” the system can include A alone; B alone; C alone; 2A; 2B; 2C; 3A; A and B in combination; B and C in combination; A and C in combination; A, B, and C in combination; 2A and C in combination; A, 3B, and 2C in combination; and the like. 

What is claimed is:
 1. A method for inspecting virtual instances in a cloud computing environment for cybersecurity objects, comprising: accessing an inspection account in a cloud computing environment; detecting a disk in the cloud computing environment, wherein the cloud computing environment includes a plurality of workloads; generating a second disk from the detected disk with the inspection account; inspecting the second disk for a cybersecurity object; and releasing the second disk after completing the inspection of the cloned disk.
 2. The method of claim 1, wherein the second disk is a cloned disk.
 3. The method of claim 1, further comprising: releasing a resource allocated to the second disk prior to the cloud computing environment copying a content of the detected disk into the second disk.
 4. The method of claim 1, further comprising: generating a pointer for a second disk descriptor of the second disk to an encryption key, the encryption key used for encrypting the detected disk.
 5. The method of claim 4, wherein the second disk descriptor includes a pointer to an address of a storage block in a managed storage of the cloud computing environment.
 6. The method of claim 1, further comprising: dereferencing a pointer of the detected disk; and generating a pointer for a second disk descriptor based on the dereferenced pointer of the detected disk.
 7. The method of claim 6, further comprising: deprovisioning the second disk descriptor, in response to completing inspecting the second disk.
 8. The method of claim 1, further comprising: inspecting the second disk for an exposure.
 9. The method of claim 1, further comprising: inspecting the second disk for a vulnerability.
 10. The method of claim 1, further comprising: inspecting the second disk for a malware.
 11. The method of claim 1, further comprising: inspecting the second disk for a ransomware.
 12. The method of claim 1, further comprising: inspecting the second disk for a spyware.
 13. The method of claim 1, further comprising: inspecting the second disk for a bot.
 14. The method of claim 1, further comprising: inspecting the second disk for a weak password.
 15. The method of claim 1, further comprising: inspecting the second disk for an exposed password.
 16. The method of claim 1, further comprising: inspecting the second disk for an exposed certificate.
 17. The method of claim 1, further comprising: inspecting the second disk for a misconfiguration.
 18. The method of claim 1, further comprising: inspecting the second disk for a suspicious event.
 19. The method of claim 1, further comprising: querying a security graph to detect a disk node representing a disk, the disk node connected to a virtual instance node representing a virtual instance associated with the detected disk, wherein the security graph includes a representation of the cloud computing environment.
 20. A system for inspecting virtual instances in a cloud computing environment for cybersecurity objects comprising: a processing circuitry; and a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to: access an inspection account in a cloud computing environment; detect a disk in the cloud computing environment, wherein the cloud computing environment includes a plurality of workloads; generate a second disk from the detected disk with the inspection account; inspect the second disk for a cybersecurity object; and release the second disk after completing the inspection of the cloned disk.
 21. A non-transitory computer-readable medium storing a set of instructions for inspecting virtual instances in a cloud computing environment for cybersecurity objects, the set of instructions comprising: one or more instructions that, when executed by one or more processors of a device, cause the device to: access an inspection account in a cloud computing environment; detect a disk in the cloud computing environment, wherein the cloud computing environment includes a plurality of workloads; generate a second disk from the detected disk with the inspection account; inspect the second disk for a cybersecurity object; and release the second disk after completing the inspection of the cloned disk. 